/*
 * @Author: lihaogn
 * @Date: 2021-12-22 11:05:34
 * @LastEditTime: 2022-05-25 16:28:53
 * @LastEditor: lihaogn
 * @Description: 系统管理路由
 * @FilePath: \lix-admin-client-vue2\src\router\modules\system-manage\index.js
 */
import Home from '@/views/layout/index.vue'
export default {
  name: 'system-manage',
  path: '/systemManage',
  component: Home,
  meta: {
    title: '系统管理',
    iconName: 'el-icon-setting',
    isMenu: true,
    canSearched: false
  },
  children: [
    {
      name: 'user-manage',
      path: 'userManage',
      component: () => import('@/views/system/user-manage/user-list/index.vue'),
      meta: {
        title: '用户管理',
        iconName: 'el-icon-user',
        isMenu: true,
        canSearched: true
      }
    },
    {
      name: 'role-manage',
      path: 'roleManage',
      component: () => import('@/views/system/user-manage/role-list/index.vue'),
      meta: {
        title: '角色管理',
        iconName: 'el-icon-s-custom',
        isMenu: true,
        canSearched: true
      }
    },
    {
      name: 'permission-manage',
      path: 'permissionManage',
      component: () =>
        import('@/views/system/user-manage/permission-list/index.vue'),
      meta: {
        title: '权限管理',
        iconName: 'el-icon-key',
        isMenu: true,
        canSearched: true
      }
    }
  ]
}
